package cn.jinjimi.domain.data.dto;

import com.google.gson.annotations.SerializedName;

import java.util.List;

import cn.jinjimi.app.entity.LinkBean;
import cn.jinjimi.app.entity.Notice;
import cn.jinjimi.domain.entity.Product;

/**
 * Created by zhenhua on 2018/1/21.
 */

public class ConfigDTO {

    @SerializedName("home_cates")
    public List<LinkBean> cates;

    @SerializedName("home_entrances")
    public List<LinkBean> entrances;

    @SerializedName("limit")
    public LimitEntry limit;

    @SerializedName("shop")
    public LinkBean shop;

    @SerializedName("notices")
    public List<Notice> notices;

    @SerializedName("recommends")
    public List<Notice> recommends;

    public List<LinkBean> getHome_cates() {
        return cates;
    }

    public List<LinkBean> getEntrances() {
        return entrances;
    }

    public List<Notice> getNotices() {
        return notices;
    }

    public LinkBean getShopLink() {
        return shop;
    }

    public LimitEntry getLimit() {
        return limit;
    }

    public List<Notice> getRecommends() {
        return recommends;
    }

    public static class LimitEntry {
        @SerializedName("entry")
        public LinkBean entry;

        @SerializedName("products")
        public Product products;
    }
}
